﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;


namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class hsp_SpecialPrice : DataObject
    {
        [ID]
        [DID]
        public string ID { get { return _ID; } set { _ID = value; EntityState.FieldChange("ID"); } } private string _ID; public static FieldInfo iD = new FieldInfo("hsp_SpecialPrice", "ID");
        [Column]
        public string Process { get { return _Process; } set { _Process = value; EntityState.FieldChange("Process"); } } private string _Process; public static FieldInfo process = new FieldInfo("hsp_SpecialPrice", "Process");
        [Column]
        public int Incident { get { return _Incident; } set { _Incident = value; EntityState.FieldChange("Incident"); } } private int _Incident; public static FieldInfo incident = new FieldInfo("hsp_SpecialPrice", "Incident");
        [Column]
        public string UserName { get { return _UserName; } set { _UserName = value; EntityState.FieldChange("UserName"); } } private string _UserName; public static FieldInfo userName = new FieldInfo("hsp_SpecialPrice", "UserName");
        [Column]
        public string VD_Category { get { return _VD_Category; } set { _VD_Category = value; EntityState.FieldChange("VD_Category"); } } private string _VD_Category; public static FieldInfo vD_Category = new FieldInfo("hsp_SpecialPrice", "VD_Category");
        [Column]
        public string DrpPriority { get { return _DrpPriority; } set { _DrpPriority = value; EntityState.FieldChange("DrpPriority"); } } private string _DrpPriority; public static FieldInfo drpPriority = new FieldInfo("hsp_SpecialPrice", "DrpPriority");
        [Column]
        public string DMO_DrpPriority { get { return _DMO_DrpPriority; } set { _DMO_DrpPriority = value; EntityState.FieldChange("DMO_DrpPriority"); } } private string _DMO_DrpPriority; public static FieldInfo dMO_DrpPriority = new FieldInfo("hsp_SpecialPrice", "DMO_DrpPriority");

        [Column]
        public string UserFullName { get { return _UserFullName; } set { _UserFullName = value; EntityState.FieldChange("UserFullName"); } } private string _UserFullName; public static FieldInfo userFullName = new FieldInfo("hsp_SpecialPrice", "UserFullName");
        [Column]
        public string Department { get { return _Department; } set { _Department = value; EntityState.FieldChange("Department"); } } private string _Department; public static FieldInfo department = new FieldInfo("hsp_SpecialPrice", "Department");
        [Column]
        public string ApplicationNo { get { return _ApplicationNo; } set { _ApplicationNo = value; EntityState.FieldChange("ApplicationNo"); } } private string _ApplicationNo; public static FieldInfo applicationNo = new FieldInfo("hsp_SpecialPrice", "ApplicationNo");
        [Column]
        public string VD_Checked { get { return _VD_Checked; } set { _VD_Checked = value; EntityState.FieldChange("VD_Checked"); } } private string _VD_Checked; public static FieldInfo vD_Checked = new FieldInfo("hsp_SpecialPrice", "VD_Checked");
        [Column]
        public string SA_Checked { get { return _SA_Checked; } set { _SA_Checked = value; EntityState.FieldChange("SA_Checked"); } } private string _SA_Checked; public static FieldInfo sA_Checked = new FieldInfo("hsp_SpecialPrice", "SA_Checked");
        [Column]
        public string SA2_Checked { get { return _SA2_Checked; } set { _SA2_Checked = value; EntityState.FieldChange("SA2_Checked"); } } private string _SA2_Checked; public static FieldInfo sA2_Checked = new FieldInfo("hsp_SpecialPrice", "SA2_Checked");
        [Column]
        public string SpecialA_Condition_Type { get { return _SpecialA_Condition_Type; } set { _SpecialA_Condition_Type = value; EntityState.FieldChange("SpecialA_Condition_Type"); } } private string _SpecialA_Condition_Type; public static FieldInfo specialA_Condition_Type = new FieldInfo("hsp_SpecialPrice", "SpecialA_Condition_Type");
        [Column]
        public string SpecialA_Sorg_DC { get { return _SpecialA_Sorg_DC; } set { _SpecialA_Sorg_DC = value; EntityState.FieldChange("SpecialA_Sorg_DC"); } } private string _SpecialA_Sorg_DC; public static FieldInfo specialA_Sorg_DC = new FieldInfo("hsp_SpecialPrice", "SpecialA_Sorg_DC");
        [Column]
        public string SpecialA_Sales_Organization { get { return _SpecialA_Sales_Organization; } set { _SpecialA_Sales_Organization = value; EntityState.FieldChange("SpecialA_Sales_Organization"); } } private string _SpecialA_Sales_Organization; public static FieldInfo specialA_Sales_Organization = new FieldInfo("hsp_SpecialPrice", "SpecialA_Sales_Organization");
        [Column]
        public string Distribution_Channel { get { return _Distribution_Channel; } set { _Distribution_Channel = value; EntityState.FieldChange("Distribution_Channel"); } } private string _Distribution_Channel; public static FieldInfo distribution_Channel = new FieldInfo("hsp_SpecialPrice", "Distribution_Channel");
        [Column]
        public string SpecialA_Division { get { return _SpecialA_Division; } set { _SpecialA_Division = value; EntityState.FieldChange("SpecialA_Division"); } } private string _SpecialA_Division; public static FieldInfo specialA_Division = new FieldInfo("hsp_SpecialPrice", "SpecialA_Division");
        [Column]
        public string SpecialA_Sold { get { return _SpecialA_Sold; } set { _SpecialA_Sold = value; EntityState.FieldChange("SpecialA_Sold"); } } private string _SpecialA_Sold; public static FieldInfo specialA_Sold = new FieldInfo("hsp_SpecialPrice", "SpecialA_Sold");
        [Column]
        public string SpecialB_Condition_Type { get { return _SpecialB_Condition_Type; } set { _SpecialB_Condition_Type = value; EntityState.FieldChange("SpecialB_Condition_Type"); } } private string _SpecialB_Condition_Type; public static FieldInfo specialB_Condition_Type = new FieldInfo("hsp_SpecialPrice", "SpecialB_Condition_Type");
        [Column]
        public string SpecialB_Sorg_DC { get { return _SpecialB_Sorg_DC; } set { _SpecialB_Sorg_DC = value; EntityState.FieldChange("SpecialB_Sorg_DC"); } } private string _SpecialB_Sorg_DC; public static FieldInfo specialB_Sorg_DC = new FieldInfo("hsp_SpecialPrice", "SpecialB_Sorg_DC");
        [Column]
        public string SpecialB_Sales_Organization { get { return _SpecialB_Sales_Organization; } set { _SpecialB_Sales_Organization = value; EntityState.FieldChange("SpecialB_Sales_Organization"); } } private string _SpecialB_Sales_Organization; public static FieldInfo specialB_Sales_Organization = new FieldInfo("hsp_SpecialPrice", "SpecialB_Sales_Organization");
        [Column]
        public string SpecialB_Channel { get { return _SpecialB_Channel; } set { _SpecialB_Channel = value; EntityState.FieldChange("SpecialB_Channel"); } } private string _SpecialB_Channel; public static FieldInfo specialB_Channel = new FieldInfo("hsp_SpecialPrice", "SpecialB_Channel");
        [Column]
        public string SpecialB_Division { get { return _SpecialB_Division; } set { _SpecialB_Division = value; EntityState.FieldChange("SpecialB_Division"); } } private string _SpecialB_Division; public static FieldInfo specialB_Division = new FieldInfo("hsp_SpecialPrice", "SpecialB_Division");
        [Column]
        public string SpecialC_Condition_Type { get { return _SpecialC_Condition_Type; } set { _SpecialC_Condition_Type = value; EntityState.FieldChange("SpecialC_Condition_Type"); } } private string _SpecialC_Condition_Type; public static FieldInfo specialC_Condition_Type = new FieldInfo("hsp_SpecialPrice", "SpecialC_Condition_Type");
        [Column]
        public string SpecialC_Sorg_DC { get { return _SpecialC_Sorg_DC; } set { _SpecialC_Sorg_DC = value; EntityState.FieldChange("SpecialC_Sorg_DC"); } } private string _SpecialC_Sorg_DC; public static FieldInfo specialC_Sorg_DC = new FieldInfo("hsp_SpecialPrice", "SpecialC_Sorg_DC");
        [Column]
        public string SpecialC_Sales_Organization { get { return _SpecialC_Sales_Organization; } set { _SpecialC_Sales_Organization = value; EntityState.FieldChange("SpecialC_Sales_Organization"); } } private string _SpecialC_Sales_Organization; public static FieldInfo specialC_Sales_Organization = new FieldInfo("hsp_SpecialPrice", "SpecialC_Sales_Organization");
        [Column]
        public string SpecialC_Channel { get { return _SpecialC_Channel; } set { _SpecialC_Channel = value; EntityState.FieldChange("SpecialC_Channel"); } } private string _SpecialC_Channel; public static FieldInfo specialC_Channel = new FieldInfo("hsp_SpecialPrice", "SpecialC_Channel");
        [Column]
        public string SpecialC_Division { get { return _SpecialC_Division; } set { _SpecialC_Division = value; EntityState.FieldChange("SpecialC_Division"); } } private string _SpecialC_Division; public static FieldInfo specialC_Division = new FieldInfo("hsp_SpecialPrice", "SpecialC_Division");
        [Column]
        public string SpecialC_Customer { get { return _SpecialC_Customer; } set { _SpecialC_Customer = value; EntityState.FieldChange("SpecialC_Customer"); } } private string _SpecialC_Customer; public static FieldInfo specialC_Customer = new FieldInfo("hsp_SpecialPrice", "SpecialC_Customer");
        [Column]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } } private DateTime _Time; public static FieldInfo time = new FieldInfo("hsp_SpecialPrice", "Time");
        [Column]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } } private int _Status; public static FieldInfo status = new FieldInfo("hsp_SpecialPrice", "Status");

    }
}
